﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MND.Telnet
{
    interface IMessageSource
    {
        string GetNextMessage();
        void Send(string s, Encoding e);
        void Close();

        event EventHandler<EventArgs> ConnectionClosed;
    }
}
